package com.aptech.jboa.pojo;

import java.util.HashSet;
import java.util.Set;


/**
 * Role entity. @author MyEclipse Persistence Tools
 */

public class Role  implements java.io.Serializable {


    // Fields    

     private Long id;
     private String rolename;
     private Set roleFunctions = new HashSet(0);
     private Set userRoles = new HashSet(0);


    // Constructors

    /** default constructor */
    public Role() {
    }

    
    /** full constructor */
    public Role(String rolename, Set roleFunctions, Set userRoles) {
        this.rolename = rolename;
        this.roleFunctions = roleFunctions;
        this.userRoles = userRoles;
    }

   
    // Property accessors

    public Long getId() {
        return this.id;
    }
    
    public void setId(Long id) {
        this.id = id;
    }

    public String getRolename() {
        return this.rolename;
    }
    
    public void setRolename(String rolename) {
        this.rolename = rolename;
    }

    public Set getRoleFunctions() {
        return this.roleFunctions;
    }
    
    public void setRoleFunctions(Set roleFunctions) {
        this.roleFunctions = roleFunctions;
    }

    public Set getUserRoles() {
        return this.userRoles;
    }
    
    public void setUserRoles(Set userRoles) {
        this.userRoles = userRoles;
    }
   








}